package cn.iocoder.yudao.module.exam.controller.admin.questionbank.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 试题题库题目关联新增/修改 Request VO")
@Data
public class QuestionBankSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "30634")
    private Long id;

    @Schema(description = "题库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8432")
    @NotEmpty(message = "题库id不能为空")
    private Long bankId;

    @Schema(description = "试题id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16224")
    @NotNull(message = "试题id不能为空")
    private Long questionId;

}